<template>
  <div class="section">
    <el-row>
      <el-col :span="4">
        <p class="text-right title">{{ title }}</p>
      </el-col>
      <el-col :span="20">
        <slot/>
      </el-col>
    </el-row>
  </div>
</template>

<script>
export default {
  name: 'WebToolComSection',
  props: {
    title: {
      type: String,
      default: ''
    }
  }
}
</script>

<style scoped>
  .section .title {
    padding-right: 20px;
    margin: 10px 0;
  }

  .section .el-row {
    display: flex;
    align-items: center;
  }
</style>
